﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.RRSModes.CUIRrsModesCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Windows.Forms;
using Tecnomatix.Engineering;


namespace DnProcessSimulateCommands.RRSModes;

public class CUIRrsModesCmd : TxButtonCommand
{
  protected CApRrsModesEnabler m_enabler;
  private CUIRrsModesForm m_RRsModesForm;

  public CUIRrsModesCmd() => this.m_enabler = new CApRrsModesEnabler();

  public virtual string Category => "Robot and Device";

  public virtual string Name => "RRS Modes";

  public virtual string Tooltip => "RRS Modes";

  public virtual string Bitmap => (string) null;

  public virtual string Description => "RRS Modes";

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this.m_enabler;

  public virtual bool Licensed => TxCommandLicenser.CustomizedUILicense;

  public virtual void Execute(object cmdParams)
  {
    this.m_RRsModesForm = new CUIRrsModesForm();
    this.m_RRsModesForm.SemiModal = false;
    ((Control) this.m_RRsModesForm).Show();
  }
}
